package org.lib.authservice;


import java.util.Date;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试接口：使用token访问
 * @author ben
 * @date 2021-10-21 17:22:57 CST
 */
@RestController
@RequestMapping(value="/app")
public class AppController {

	@GetMapping(value="/hello")
	public String hello() {
		return "hello, " + new Date();
	}
	
}
